package com.ruoyi.system.domain.vo;

import java.util.ArrayList;
import java.util.List;

public class OutApiModuleVo {
    String id;
    String moduleCname;
    String parentId;
    List<OutApiModuleVo> children = new ArrayList<>();

    public void addChildren(OutApiModuleVo vo) {
        children.add(vo);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModuleCname() {
        return moduleCname;
    }

    public void setModuleCname(String moduleCname) {
        this.moduleCname = moduleCname;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<OutApiModuleVo> getChildren() {
        return children;
    }

    public void setChildren(List<OutApiModuleVo> children) {
        this.children = children;
    }
}
